package com.danco.training.hoteladmin.storage;

import java.util.Comparator;
import com.danco.training.hoteladmin.core.Client;

public class ClientSortByNames implements Comparator<Client>{
	@Override
	public int compare(Client o1, Client o2) {
		return o1.getName().compareTo(o2.getName());
	}

}
